<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Zeigt das Formular an, bei welchem man den User und das Passwort eingeben
 * kann.
 * @author Andy
 */
class UserAuthView {
    public function ShowAuthForm(){
        echo '
            <form action="index.php" method="post" name="PasswordAuth">
                <table border = "0" cellpadding="3" cellspacing="0">
                    <tr>
                        <td>Benutzer</td>
                        <td><input name="User" type="text" maxlength="50" /></td>
                     </tr>
                     <tr>
                        <td>Passwort</td>
                        <td><input name="Password" type="password" /></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input name="cmdLogin" type="submit" value="Anmelden" /></td>
                    </tr>
                </table>
            <input name="PHPSESSID" type="hidden" value="<?=session_id()?>" />
        </form>';
    }
}
?>
